<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;

class BaseController extends Controller
{

    protected function ok($msg = '操作成功')
    {
        return['code' => 200, 'msg' => $msg];
    }
}
